import React from 'react'
// Outlet决定了嵌套路由组件渲染的位置
import { Link, Outlet } from 'react-router-dom'
export default function Home() {
  return (
    <div>
      <h1>Home</h1>
      <Link to="/home/test1">test1</Link> &nbsp;
      <Link to="/home/test2">test2</Link>
      <hr />
      <Outlet></Outlet>
      <hr />
    </div>
  )
}
